package org.tempuri;

import java.net.MalformedURLException;
import java.net.URL;

import org.codehaus.xfire.client.Client;


public class SentClient {
	public static void main(String[] args) throws MalformedURLException, Exception{
		SentClient c = new SentClient();
		//
		c.sent("13240752083","��֪��nixixixi你好 test");
		//c.userState1();
		//c.simpleSent(); 
	}

	
	public String sent(String handsets,String message){
		EnterpriseSmsSendWebServiceClient client = new EnterpriseSmsSendWebServiceClient();
		EnterpriseSmsSendWebServiceSoap helloService = client.getEnterpriseSmsSendWebServiceSoap();
		// ���÷���
		String result = helloService.smsSend("patent","123456","500014",handsets+"%^&"+message);
		System.out.println("���" + result);
		return result;
	}
}
